<template>
  <section class="section sec-6">
    <main>
      <h1>准备好了吗?<br />马上开始定制开发</h1>
      <button class="co-btn arrow" @click="scrollToDom('#sec-7')">联系我们</button>
    </main>
  </section>
</template>
<script>
import { scrollToDom } from '../util';
export default {
  name: 'co-section-6',
  methods: {
    scrollToDom,
  },
};
</script>
<style lang="less" scoped>
.sec-6 {
  background-image: url('/bg.jpg');
  background-size: cover;
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 500px;
    padding: 60px 0;
    box-sizing: border-box;

    h1 {
      text-align: center;
      font-size: 72px;
      font-weight: bold;
      line-height: 1.75;
    }

    button {
      margin-top: 50px;
    }
  }
}

@media screen and (max-width: 1000px) {
  .sec-6 {
    main {
      min-height: 250px;
      padding: 30px 0;

      h1 {
        font-size: 36px;
      }

      button {
        margin-top: 25px;
      }
    }
  }
}
</style>
